package cn.jzq.kotoba.modules.designpattern.decorator;

/**
 * @author jzq
 * @date 2018/12/24 13:06
 */
public class Soy extends CondimentDecorator {
    Beverage beverage;

    @Override
    public String getDescription() {
        return beverage.getDescription() + ", Soy";
    }

    @Override
    public double cost() {
        return 1.0;
    }
}
